package com.example.satoken;

import cn.dev33.satoken.SaManager;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan("com.example.satoken.mapper")
public class SaTokenApplication {

    public static void main(String[] args) {
        SpringApplication.run(SaTokenApplication.class, args);
        System.out.println("启动成功--Sa-token配置如下："+ SaManager.getConfig());
        System.out.println("Token存储方式：" + SaManager.getSaTokenDao());
    }

}
